﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace Brick
{
    public class BaseReflection
    {
        public int id;
        public string name;

        public BaseReflection()
        {
            Debug.Log("无参数构造函数");
        }

        public BaseReflection(int id, string name)
        {
            this.id = id;
            this.name = name;
            Debug.Log("有参数构造函数");
        }

        public void Test1()
        {
            Debug.Log("调用方法：Test1");
        }

        public void Test2(string name)
        {

        }
    }
}

